﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Material.Material.Dtos
{
    public class Procurement_ContractOutput
    {
        [DisplayName("编号")]
        public int Id {  get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        [DisplayName("合同编号")]
        public string ContractNumber { get; set; }
        /// <summary>
        /// 合同名称
        /// </summary>
        [DisplayName("合同名称")]
        public string ContractName { get; set; }
        /// <summary>
        /// 签订日期
        /// </summary>
        [DisplayName("签订日期")]
        public DateTime? SignDate { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        [DisplayName("供应商ID")]
        public int? Supplier_Id { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        [DisplayName("供应商名称")]
        public string SupplierName { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        [DisplayName("合同金额")]
        public decimal? Contract_Amount { get; set; }
        /// <summary>
        /// 到期日期
        /// </summary>
        [DisplayName("到期日期")]
        public DateTime? Maturity_Date { get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        [DisplayName("是否审核")]
        public string Audit { get; set; }
        /// <summary>
        /// 金额小计
        /// </summary>
        [DisplayName("金额小计")]
        public decimal Subtotal { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        [DisplayName("税率")]
        public int Tax_Rate { get; set; }

        /// <summary>
        /// 未税价格
        /// </summary>
        [DisplayName("未税价格")]
        public decimal Untaxed_Price { get; set; }
        /// <summary>
        /// 含税价格
        /// </summary>
        [DisplayName("含税价格")]
        public decimal Taxed_Price { get; set; }

        public int Material_Id { get; set; }

    }
    /// <summary>
    /// 物料出库状态更新DTO
    /// </summary>
    public class ContractStatusUpdateDto
    {
        public int Id { get; set; }
        public string Audit { get; set; }
    }
}
